import Vue from 'vue';
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import App from './App.vue';
import router from './router/index';
import store from './store/index';
import './assets/css/main.css';
import dayjs from 'dayjs';
import VCharts from 'v-charts';

Vue.use(ElementUI);
Vue.use(VCharts);
Vue.prototype.dayjs = dayjs;
Vue.prototype.$confirm = ElementUI.MessageBox.confirm;
Vue._watchers = Vue.prototype._watchers = [];

new Vue({
    el: '#app',
    router,
    store,
    render: h => h(App)
});
